﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage_EmpDetail.master" AutoEventWireup="true" CodeFile="EmpCertificate.aspx.cs" Inherits="Employees_EmpCertificate" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Titile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">

    <infolight:webdatasource id="Master" runat="server" autoapply="True" webdatasetid="WMaster"
        datamember="View_Certificate">
    </infolight:webdatasource>
     <div class="tabs" runat="server" id="TabsFunction">
        <ul>
            <li>
                <asp:LinkButton ID="AddFunction" runat="server" Text="<span>证　书　添　加　</span>" CssClass="ChileUnHover"></asp:LinkButton>
            </li>
        </ul>
    </div>
    <infolight:webgridview id="wgvMaster" runat="server" cellpadding="5" createinnernavigator="False"
        datasourceid="Master" forecolor="#333333" width="100%" aborticonurl="../Image/UIPics/Abort.gif"
        addiconurl="../Image/UIPics/Add.gif" applyiconurl="../Image/UIPics/Apply.gif"
        canceliconurl="../Image/UIPics/Cancel.gif" mouseoveraborticonurl="../Image/UIPics/Abort2.gif"
        mouseoveraddiconurl="../Image/UIPics/Add2.gif" mouseoverapplyiconurl="../Image/UIPics/Apply2.gif"
        mouseovercanceliconurl="../Image/UIPics/Cancel2.gif" mouseoverokiconurl="../Image/UIPics/OK2.gif"
        mouseoverqueryiconurl="../Image/UIPics/Query2.gif" okiconurl="../Image/UIPics/OK.gif"
        queryiconurl="../Image/UIPics/Query.gif" headerstylewrap="False" backcolor="White"
        bordercolor="White" borderstyle="Groove" borderwidth="2px" PageSize="15" 
        ondatabound="wgvMaster_DataBound">
        <pagersettings mode="NumericFirstLast" />
        <footerstyle backcolor="#507CD1" forecolor="White" font-bold="True"></footerstyle>
        <navcontrols>
<InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/add2.gif" ControlText="add" ControlName="Add" ControlType="Image" ImageUrl="../image/uipics/add.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/ok2.gif" ControlText="Insert" ControlName="OK" ControlType="Image" ImageUrl="../image/uipics/ok.gif"></InfoLight:ControlItem>
<InfoLight:ControlItem ControlVisible="True" Size="25" MouseOverImageUrl="../image/uipics/cancel2.gif" ControlText="cancel" ControlName="Cancel" ControlType="Image" ImageUrl="../image/uipics/cancel.gif"></InfoLight:ControlItem>
</navcontrols>
        <columns>
                <asp:BoundField DataField="CertId" HeaderText="编号" SortExpression="CertId" />
                <asp:BoundField DataField="empname" HeaderText="员工名称" SortExpression="empname" />
                <asp:BoundField DataField="departmentname" HeaderText="部门名称" SortExpression="departmentname" />
                <asp:BoundField DataField="CertName" HeaderText="证书名称" SortExpression="CertName" />
                <asp:BoundField DataField="CertificateNo" HeaderText="证件编号" SortExpression="CertificateNo" />
                <asp:BoundField DataField="CertSDate" DataFormatString="{0:d}" HeaderText="起始有效日期"
                    SortExpression="CertSDate" />
                <asp:BoundField DataField="CertEDate" DataFormatString="{0:d}" HeaderText="终止有效日期"
                    SortExpression="CertEDate" />
                <asp:BoundField DataField="CertRDate" DataFormatString="{0:d}" HeaderText="复审日期"
                    SortExpression="CertRDate" />
                <asp:BoundField DataField="SXTS" HeaderText="到失效天数" SortExpression="SXTS" />
                <asp:BoundField DataField="GQTS" HeaderText="到复审天数" SortExpression="GQTS" />
                <asp:BoundField DataField="Mem" HeaderText="培训备注" SortExpression="Mem" />
</columns>
        <rowstyle backcolor="#EFF3FB" horizontalalign="Center"></rowstyle>
        <editrowstyle backcolor="#2461BF"></editrowstyle>
        <selectedrowstyle backcolor="#D1DDF1" forecolor="#333333" font-bold="True"></selectedrowstyle>
        <pagerstyle backcolor="LightBlue" forecolor="White" horizontalalign="Center"></pagerstyle>
        <headerstyle backcolor="DeepSkyBlue" forecolor="White" font-bold="True"></headerstyle>
        <alternatingrowstyle backcolor="White" bordercolor="White"></alternatingrowstyle>
    </infolight:webgridview>
</asp:Content>

